<?php
header("Cache-Control: no-cache");
include('dbconnect.php');
$con_id = (isset($_GET['con_id']))? $_GET['con_id'] : $con_id;
$mai_id = (isset($_GET['mai_id']))? $_GET['mai_id'] : $cli_id;
$bool = (isset($_GET['bool']))? $_GET['bool'] : $bool;


$sql = "UPDATE envois SET env_envoi=$bool WHERE env_con_id=$con_id AND env_mai_id=$mai_id";
$db->query($sql);
$db->disconnect();
?>
